<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/web04_1_war/servletLogin" method="post">
    <div id="error">${msg} ${rig_msg}</div>
    <p>账号 <input type="text" name="name" value="${cookie.name.value}"></p>
    <p>密码 <input type="password" name="password" value="${cookie.password.value}"></p>
    <p>记住我<input type="checkbox" id="remember" name="remember" value="1" ></p>
    <input type="submit" value="login">
</form>

<p>没有账号？<a href="register.jsp">注册</a></p>
</body>
</html>